all:
	$(MAKE) -C ./backup
	$(MAKE) -C ./time
	$(MAKE) -C ./sync
	gcc -static -o ./release/manager main.c ./release/libbackup.a ./release/libsync.a ./release/libtime.a -lpthread

.PHONY: clean

clean:
	rm ./release/manager ./backup/*.o ./sync/*.o ./time/*.o ./release/*.a
